Repository navigation
Make a human member's email optional - #2
Merged
Merged
Conversation
Email is only used to link a member to a Supabase login (auth.users), so neither the admin CLI nor setup.ts requires it any more. create-member takes --email <address> (the older --human <email> still works); with neither it creates a human member with no email. setup.ts no longer falls back to git config user.email: an email is stored only when given. --bot with an email is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A member's email is only used to link it to a Supabase login (
auth.users), for a possible web UI later. MCP tokens work without one. Until now the admin CLI andsetup.tsrefused to create a human member without an email.Changes
createMember(scripts/lib/admin-db.ts) no longer requires an email; a blank one is stored as null.admin.ts create-member <name> [--email <address>] | --bot--human <email>still works as the older spelling.--bottogether with an email is refused.setup.tsstores an email only when--emailis given. It no longer falls back togit config user.email.Testing
deno task checkis clean.--emailand--human <email>all create the member;--bot --emailexits 1.🤖 Generated with Claude Code